SetMovieMasterTimeBase
You can use theSetMovieMasterTimeBase
function to assign a master time base to a movie. Do not use theSetTimeBaseMasterTimeBase
function (described on page 2-301) to assign a time base to a movie.
pascal void SetMovieMasterTimeBase (Movie theMovie, TimeBase tb, const TimeRecord *slaveZero);
theMovie
- Specifies the movie for this operation. Your application obtains this movie identifier from such functions as
NewMovie
,NewMovieFromFile
, andNewMovieFromHandle
(described on page 2-80, page 2-76, and page 2-78, respectively).tb
- Specifies the master time base to be assigned to this movie. Your application obtains this time base identifier from the
NewTimeBase
function (described on page 2-297).slaveZero
- Contains a pointer to the time, in the time scale of the master time base, that corresponds to a 0 time value for the movie. This parameter allows you to set an offset between the movie and the master time base. Set this parameter to
nil
if there is no offset.SPECIAL CONSIDERATIONS
TheSetMovieMasterTimeBase
function cannot be called at interrupt time.ERROR CODES
None